package com.ai.service.made;

import com.ai.common.CommonResponse;
import com.ai.entity.cameraFunctions.CameraFlowCollectionPlatformPage;
import com.ai.entity.cameraFunctions.CameraFlowCollectionPlatformParam;
import com.ai.entity.made.CameraFlowCollectionPlatform;
import com.ai.model.dto.RecordInfoDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiaok
 * @since 2024-08-27
 */
public interface ICameraFlowCollectionPlatformService extends IService<CameraFlowCollectionPlatform> {
    /**
     * 新增取流平台
     * @param cameraFlowCollectionPlatformParam
     * @return
     */
    CommonResponse addNewPlat(CameraFlowCollectionPlatformParam cameraFlowCollectionPlatformParam);



    /**
     * 编辑取流平台信息
     * @param id
     * @return
     */
    CommonResponse getPlatInfo(String id);

    /**
     * 编辑平台信息
     * @param cameraFlowCollectionPlatformParam
     * @return
     */
    CommonResponse editPlatInfo(CameraFlowCollectionPlatformParam cameraFlowCollectionPlatformParam);

    /**
     * 删除取流平台信息
     * @param id
     * @return
     */
    CommonResponse delPlatInfo(String id);

    /**
     * 取流平台分页
     * @param platformPage
     * @return
     */
    CommonResponse pageList(CameraFlowCollectionPlatformPage platformPage);

    /**
     * 获取所有的取流平台
     * @return
     */
    CommonResponse gePlatList();


    /**
     * 获取组织下的所有取流平台id
     * @param regionBaseId 组织id
     * @return
     */
    List<Integer> getBelowPlatId(String regionBaseId);
}
